package controller
{
	import flash.text.TextField;
	import flash.text.TextFieldAutoSize;
	
	import subumbo.micro.controller.ListItemViewController;

	public class MenuButtonViewController extends ListItemViewController
	{
		public var txt:TextField;
		
		override public function set data(val:Object):void
		{
			txt.autoSize = TextFieldAutoSize.LEFT;
			txt.text = val.label;
			super.data = val;
		}	
	}
}